package com.uwlaser.modules.system.service.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.sql.Timestamp;
import io.swagger.annotations.ApiModelProperty;

/**
* @author QZK
* @date 2022-12-06
*/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class SysExternalSocketLogDto implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;

    @ApiModelProperty(value = "地址")
    private String host;

    @ApiModelProperty(value = "端口")
    private Integer port;

    @ApiModelProperty(value = "发送参数")
    private String params;

    @ApiModelProperty(value = "连接方式")
    private String connectMode;

    @ApiModelProperty(value = "描述")
    private String summarize;

    @ApiModelProperty(value = "错误消息")
    private String errorMsg;

    @ApiModelProperty(value = "是否成功")
    private String isSuccess;

    @ApiModelProperty(value = "重式次数")
    private Integer retriesNum;

    @ApiModelProperty(value = "请求返回结果")
    private String requestResult;

    @ApiModelProperty(value = "请求时间")
    private Date createTime;

    @ApiModelProperty(value = "运行耗时")
    private Integer elapsedTime;

    private String createBy;

    private Date updateTime;

    private String updateBy;
}
